import org.junit.Test;

/**
 * @author:李雄
 * @ClassName:LambdaTest
 * @Description:
 * @createTime:2022-08-01 22:51
 */
public class LambdaTest {

    @Test
    public void test1() {

    }

    @Test
    public void test2(){
        //获取cpu的核数
        //CPU密集型，IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());
    }

}
